Skip to content

Commit

Permalink
Change default city name pref
Browse files Browse the repository at this point in the history
LakeYS committed Sep 15, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent ca6766f commit 75aec19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GameMode_CityRPG4/server/prefs.cs
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@

// Init prefs without registering them
function City_InitPrefs() {
$Pref::Server::City::name = "Blocko City";
$Pref::Server::City::name = "Blocko Town";

// Game
$Pref::Server::City::misc::cashdrop = 1;
@@ -48,7 +48,7 @@ function City_InitPrefs() {
// For the sake of reverse compatibility, the old RTB pref function is being used for now.

// City Prefs
RTB_registerPref("City name", "CityRPG 4|Game", "$Pref::Server::City::name", "string 64", "GameMode_CityRPG4", "Blocko City", 0, 0);
RTB_registerPref("City name", "CityRPG 4|Game", "$Pref::Server::City::name", "string 64", "GameMode_CityRPG4", "Blocko Town", 0, 0);

RTB_registerPref("Drop Cash on Death", "CityRPG 4|Game", "$Pref::Server::City::misc::cashdrop", "bool", "GameMode_CityRPG4", 1, 0, 0);
RTB_registerPref("Max Lots", "CityRPG 4|Game", "$Pref::Server::City::realestate::maxLots", "int 0 999", "GameMode_CityRPG4", 5, 0, 0);

0 comments on commit 75aec19

Please sign in to comment.