mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
Bind map_error to the script object.
This works much better :)
This commit is contained in:
parent
f525be0880
commit
ae942afe5c
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ def map_error(self, msg):
|
|||
def parse_map(filename):
|
||||
text = open(filename, "rt").read()
|
||||
script = Script(filename, text, single="")
|
||||
script.error = map_error
|
||||
script.error = map_error.__get__(script, Script)
|
||||
entities = []
|
||||
global texdefs
|
||||
texdefs = []
|
||||
|
|
Loading…
Reference in a new issue