Fixed crash with dfusion migrants plugin.

develop
Warmist 2012-01-06 10:25:58 +02:00
parent 3115fb17c7
commit 571c249522
1 changed files with 1 additions and 1 deletions

@ -20,7 +20,7 @@ if mypos then
engine.poked(modpos+0x1c,count) --max size for div engine.poked(modpos+0x1c,count) --max size for div
else else
modpos,modsize=engine.loadmod("dfusion/migrants/migrants.o","Migrants") modpos,modsize=engine.loadmod("dfusion/migrants/migrants.o","Migrants",400)
print(string.format("Loaded module @:%x",modpos)) print(string.format("Loaded module @:%x",modpos))
count=0 count=0
for _,v in pairs(names) do for _,v in pairs(names) do