Permalink
Browse files

added monster data loading to fcgi.lua

  • Loading branch information...
1 parent 01f71e7 commit bc323d65d28b83ddba8c3ac78f6cd38a5d56166a @mikejsavage committed Mar 20, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −0 fcgi.lua
  2. +0 −2 monsters.lua
View
1 fcgi.lua
@@ -25,6 +25,7 @@ end
math.randomseed( os.time() )
+Monsters, MonstersJSON = data( "monsters" )
Weapons, WeaponsJSON = data( "weapons" )
Guns, GunsJSON = data( "guns" )
Armors, ArmorsJSON = data( "armors" )
View
2 monsters.lua
@@ -1,5 +1,3 @@
-Monsters = data( "monsters" )
-
local function monsterFromName( name )
for _, monster in ipairs( Monsters ) do
if urlFromName( monster.name ) == name then

0 comments on commit bc323d6

Please sign in to comment.