mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-22 11:41:38 +00:00
Return None instead of False from parse_entity.
Don't remember how I found that one, but None makes much more sense.
This commit is contained in:
parent
c88d1987a1
commit
eeaf2bc43f
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ def parse_epair(script, mapent):
|
||||||
|
|
||||||
def parse_entity(script):
|
def parse_entity(script):
|
||||||
if script.getToken(True) == None:
|
if script.getToken(True) == None:
|
||||||
return False
|
return None
|
||||||
if script.token != "{":
|
if script.token != "{":
|
||||||
map_error(script, "Missing {")
|
map_error(script, "Missing {")
|
||||||
mapent = Entity()
|
mapent = Entity()
|
||||||
|
|
Loading…
Reference in a new issue