From 162b1de442bae3f02f14771eeb5f4f32868a97b3 Mon Sep 17 00:00:00 2001 From: alexichi Date: Tue, 10 May 2016 18:34:22 +0200 Subject: continue the use of objects problem --- inc/dungeon.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/dungeon.inc') diff --git a/inc/dungeon.inc b/inc/dungeon.inc index 521303e..d6b80fc 100644 --- a/inc/dungeon.inc +++ b/inc/dungeon.inc @@ -2,7 +2,7 @@ require_once("messages.inc"); require_once("account.inc"); require_once("Monster.inc"); - +require_once("perso.inc"); function generateMonster(){ $monsters = simplexml_load_file('data/monsters.xml'); @@ -56,6 +56,7 @@ function sendDungeonProgress(){ $nb=$_POST["mob"]; $_SESSION["dungeon"]["flat"] = $f; $_SESSION["dungeon"]["mob"] = $nb; + reusable(); } -- cgit v1.2.3-54-g00ecf