You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
[HTML5] Fix "initial_memory" build option parsing
This commit is contained in:
@@ -51,8 +51,11 @@ def get_flags():
|
||||
|
||||
def configure(env):
|
||||
if not isinstance(env["initial_memory"], int):
|
||||
print("Initial memory must be a valid integer")
|
||||
sys.exit(255)
|
||||
try:
|
||||
env["initial_memory"] = int(env["initial_memory"])
|
||||
except:
|
||||
print("Initial memory must be a valid integer")
|
||||
sys.exit(255)
|
||||
|
||||
## Build type
|
||||
|
||||
|
||||
Reference in New Issue
Block a user