Log In  

I keep getting an error for Line 0, Tab 0. ? Alongside a false global update. Should that even exist?

SOLVED! DELETED THE UPDATE_MAP CODE WHEN TRYING TO REWRITE IT DIFFERENTLY, FORGOT TO REPLACE IT

Code Line :

function _update()
if (not game_over) then
if (not active_text) then
update_map()
move_player()
check_win_lose()
end
end

Error :

RUNTIME ERROR LINE 15 TAB 0
UPDATE_MAP()
ATTEMPT TO CALL GLOBAL 'UPDATE_M
AP' (A NIL VALUE)
IN UPDATE LINE 15 (TAB 0)
AT LINE 0 (TAB 0)

P#74607 2020-04-09 21:34 ( Edited 2020-04-10 00:42)

Can you post what's in Tab 1 for your update_map() function? It may be a problem there instead.

P#74610 2020-04-09 23:02

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 09:25:23 | 0.005s | Q:8