Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added monster data loading to fcgi.lua

  • Loading branch information...
commit bc323d65d28b83ddba8c3ac78f6cd38a5d56166a 1 parent 01f71e7
Michael Savage authored
Showing with 1 addition and 2 deletions.
  1. +1 −0  fcgi.lua
  2. +0 −2  monsters.lua
1  fcgi.lua
View
@@ -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" )
2  monsters.lua
View
@@ -1,5 +1,3 @@
-Monsters = data( "monsters" )
-
local function monsterFromName( name )
for _, monster in ipairs( Monsters ) do
if urlFromName( monster.name ) == name then
Please sign in to comment.
Something went wrong with that request. Please try again.