1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

get_asset used on IOS too

This commit is contained in:
Zeno Rogue 2021-06-03 12:26:36 +02:00
parent 196d0dcb4c
commit 0e0f773560

View File

@ -942,7 +942,7 @@ EX namespace reg3 {
void load_ruleset(string fname) {
string buf;
#if ISANDROID
#if ISANDROID || ISIOS
buf = get_asset(fname);
#else
FILE *f = fopen(fname.c_str(), "rb");