fix a little variable shadow
This commit is contained in:
parent
94a46115f1
commit
4b4138a542
1 changed files with 2 additions and 2 deletions
|
@ -20,9 +20,9 @@ extends Resource
|
|||
@export var levels: Array[LevelInfo] = []
|
||||
|
||||
|
||||
func has_id(id: String) -> bool:
|
||||
func has_id(level_id: String) -> bool:
|
||||
for info in levels:
|
||||
if info.id == id:
|
||||
if info.id == level_id:
|
||||
return true
|
||||
return false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue