1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-21 07:27:45 +00:00

Change default GM rank back to 90

I originally did this thinking I would engineer a user management
interface afterwards, but this hasn't materialized yet and just makes
testing Kawari harder.

This should stop having to manually edit your Kawari World database to
gain access to GM and debug commands.
This commit is contained in:
Joshua Goins 2025-06-18 21:00:20 -04:00
parent ed08fc2fdc
commit 9567c8f38e

View file

@ -352,7 +352,7 @@ impl WorldDatabase {
// insert char data
connection
.execute(
"INSERT INTO character_data VALUES (?1, ?2, ?3, ?4, ?5, 0.0, 0.0, 0.0, 0.0, ?6, 0, 0);",
"INSERT INTO character_data VALUES (?1, ?2, ?3, ?4, ?5, 0.0, 0.0, 0.0, 0.0, ?6, 0, 90);",
(
content_id,
name,