Lua - fix one thing so you can break another.

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3913 387891d4-d844-0410-90c0-e4c51a9137d3
This commit is contained in:
wmcoolmon authored and niffiwan committed 2015-04-29 18:42:47 +10:00
1 parent a3ec50ee2c
commit f8f3b2c9e7
2 files changed
+5 -6

No files matched your search

+2
View File
@@ -75,6 +75,8 @@ void script_parse_table(char *filename)
if(optional_string("#Global Hooks"))
{
int num = 42;
Script_system.SetHookVar("Version", 'i', &num);
if(optional_string("$Global:")) {
Script_globalhook = st->ParseChunk("Global");
}