w84death / Tanks-of-Freedom

Indie Turn Based Strategy in Isometric Pixel Art
http://tof.p1x.in
Other
1.14k stars 151 forks source link

Fixed unable to scan project by Godot 2.1.4 #84

Closed haxpor closed 6 years ago

haxpor commented 6 years ago

Checked and tested by seeing debug log from Godot. It cannot recognize prod as set in engine.cfg so project cannot be scanned.

Attach error log here

haxpors-mbp:MacOS haxpor$ ./Godot -vde -path ~/Downloads/Tanks-of-Freedom/engine.cfg 
arguments
0: ./Godot
1: -vde
2: -path
3: /Users/haxpor/Downloads/Tanks-of-Freedom/engine.cfg
ERROR: load: ConfgFile::load - /Users/haxpor/Downloads/Tanks-of-Freedom/engine.cfg:62 error: Unexpected identifier: 'prod'.
   At: core/io/config_file.cpp:183.
ERROR: _load_recent_projects: Condition ' err != OK ' is true. Continuing..:
   At: editor/project_manager.cpp:801.
ERROR: free_static: Condition ' !MemoryPoolStatic::get_singleton() ' is true.
   At: core/os/memory.cpp:59.
ERROR: free_static: Condition ' !MemoryPoolStatic::get_singleton() ' is true.
   At: core/os/memory.cpp:59.
haxpor commented 6 years ago

I think I should revert game.xscn for this PR and #85 . edit: reverted for both PR.

czlowiekimadlo commented 6 years ago

Godot likes to shuffle stuff in scenes you touch. Overall, if you haven't made any changes in scenes, and you see modified files, you probably should revert those changes before committing.