mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-04 03:44:23 +00:00
fix: only 1 hero can exist and is deleted upon new hero training start
Closes #261
This commit is contained in:
+3
-1
@@ -914,7 +914,9 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%hero` (
|
||||
`inrevive` tinyint(1) NULL,
|
||||
`intraining` tinyint(1) NULL,
|
||||
PRIMARY KEY (`heroid`),
|
||||
KEY `uid` (`uid`)
|
||||
KEY `uid` (`uid`, `dead`) USING BTREE,
|
||||
KEY `lastupdate` (`lastupdate`),
|
||||
KEY `inrevive` (`inrevive`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
|
||||
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user