mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-20 18:52:28 +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):
|
||||
if script.getToken(True) == None:
|
||||
return False
|
||||
return None
|
||||
if script.token != "{":
|
||||
map_error(script, "Missing {")
|
||||
mapent = Entity()
|
||||
|
|
Loading…
Reference in a new issue