fix: revert // to / in deck.gd (GDScript 4 does not support // operator)
The INTEGER_DIVISION warning in deck.gd:19 is a false positive - both operands are int, so / performs integer division correctly in GDScript 4. Using // caused a parse error (Expected expression after '/' operator), which cascaded to GameController/TrainingController resolution failure.
This commit is contained in:
4
deck_out.txt
Normal file
4
deck_out.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Godot Engine v4.6.3.stable.official.7d41c59c4 - https://godotengine.org
|
||||
|
||||
GameController loaded: (res://src/game/game_controller.gd):<GDScript#-9223372009524689480>
|
||||
TrainingController loaded: (res://src/game/training_controller.gd):<GDScript#-9223372007477869127>
|
||||
Reference in New Issue
Block a user