diff --git a/MapRestartWorkaround/main.gsc b/MapRestartWorkaround/main.gsc index 82468aa..a5a7ea0 100644 --- a/MapRestartWorkaround/main.gsc +++ b/MapRestartWorkaround/main.gsc @@ -7,6 +7,7 @@ #include maps\mp\zm_transit; #include maps\mp\zm_buried; #include maps\mp\zm_tomb; +#include maps\mp\zm_nuked; init() { @@ -21,7 +22,10 @@ init() } else { - player thread give_personality_characters(); + player thread give_personality_characters(); //this has to commented out when loading nuketown + //unfortunately nuketown is the only map without this function therefore it can't find it and the server will throw an error + //the only way to fix this would be to copy both give_team_characters() and give_personality_characters() into this file and account for all maps + //this would make the fix more cumbersome which is why I haven't done it } } } diff --git a/MapRestartWorkaround/readme.md b/MapRestartWorkaround/readme.md index 741489c..41c002a 100644 --- a/MapRestartWorkaround/readme.md +++ b/MapRestartWorkaround/readme.md @@ -71,4 +71,4 @@ Not exactly ideal, but it does mean all players can remain in the lobby and all -Players are now directly set into spectator status instead being killed - +-Added the missing nuketown include